/**
 *  设备相关接口
 * **/

import request from '@/common/request.js'
import {HTTP_REQUEST_URL} from '@/config.js' 

const ypx_api={}

// 上传数据 
ypx_api.addPcData = data => request.globalRequest({
	methods: 'POST',
	url: HTTP_REQUEST_URL+'/ypx/addpcdata',   
	data: data   
}) 

// 培训列表 
ypx_api.ypxDataList= data => request.globalRequest({
	methods: 'POST',
	url: HTTP_REQUEST_URL+'/ypx/datalist',   
	data: data   
}) 

// 培训详情 
ypx_api.ypxDataDetail= data => request.globalRequest({
	methods: 'POST',
	url: HTTP_REQUEST_URL+'/ypx/pcdata',   
	data: data   
}) 

// 培训详情 
ypx_api.ypxDeleteFile= data => request.globalRequest({
	methods: 'POST',
	url: HTTP_REQUEST_URL+'/ypx/delete-file',   
	data: data   
}) 


  
export default ypx_api






